from odoo import fields, models, api



class ResConfigSettings(models.TransientModel):
    _inherit = 'res.config.settings'

    shippypro_enabled = fields.Boolean(string="shippypro_enabled是否开启", config_parameter='shippypro_enabled')
    shippypro_key = fields.Char(string='shippypro_key', config_parameter='shippypro_key', help='用于连接shippypro服务')
    shippypro_url = fields.Char(string='shippypro_url', config_parameter='shippypro_url', help='用于连接shippypro服务')
    shippypro_orderid = fields.Char(string='shippypro_OrderID', config_parameter='shippypro_orderid', help="The number is the unique ID given to the order at the time it was processed. It's a ShippyPro generated number and no edits are possible.")



